package edu.xaut.bookingsys.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public  enum EnumDistrictSchool {

    QuJiang(1, "曲江校区"),
    JinHua(2, "金花校区");// 曲江，金花
    @EnumValue
    final private int id;
    @JsonValue
    final private String name;

    EnumDistrictSchool(int i, String n) {
        id = i;
        name = n;
    }
}